package com.util;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import org.springframework.stereotype.Component;

import java.util.Date;

@Component
public class Title_review {
    private String pAccount;
    private String pName;
    private String pId;
    private Integer year;
    private Date date;
    private String level;
    private String statue;
    private String file;
    private String cName;
    private String result;

    public Title_review(){}
    public Title_review(String pAccount, String pName, String pId, Integer year, Date date, String level, String statue, String file, String cName, String result) {
        this.pAccount = pAccount;
        this.pName = pName;
        this.pId = pId;
        this.year = year;
        this.date = date;
        this.level = level;
        this.statue = statue;
        this.file = file;
        this.cName = cName;
        this.result = result;
    }

    @JsonProperty("pAccount")
    public String getpAccount() {
        return pAccount;
    }

    public void setpAccount(String pAccount) {
        this.pAccount = pAccount;
    }

    @JsonProperty("pName")
    public String getpName() {
        return pName;
    }

    public void setpName(String pName) {
        this.pName = pName;
    }

    @JsonProperty("pId")
    public String getpId() {
        return pId;
    }

    public void setpId(String pId) {
        this.pId = pId;
    }

    public Integer getYear() {
        return year;
    }

    public void setYear(Integer year) {
        this.year = year;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public String getLevel() {
        return level;
    }

    public void setLevel(String level) {
        this.level = level;
    }

    public String getStatue() {
        return statue;
    }

    public void setStatue(String statue) {
        this.statue = statue;
    }

    public String getFile() {
        return file;
    }

    public void setFile(String file) {
        this.file = file;
    }

    @JsonProperty("cName")
    public String getcName() {
        return cName;
    }

    public void setcName(String cName) {
        this.cName = cName;
    }

    public String getResult() {
        return result;
    }

    public void setResult(String result) {
        this.result = result;
    }
}
